home *** CD-ROM | disk | FTP | other *** search
- Path: redstone.interpath.net!mercury!softbase
- From: softbase@mercury.interpath.net (Scott McMahan - Softbase Systems)
- Newsgroups: comp.lang.c
- Subject: Re: Tradition or what?
- Date: 3 Mar 1996 22:35:05 GMT
- Organization: Interpath -- Providing Internet access to North Carolina
- Message-ID: <4hd6qp$huo@news.interpath.net>
- References: <4g0elg$mdr@redstone.interpath.net> <4h0bbo$c0q@fohnix.metronet.com> <4h7ce0$ojd@news.interpath.net> <4h85sm$lm0@texas.nwlink.com>
- NNTP-Posting-Host: mercury.interpath.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Teresa Reiko (tjr19@mail.nwlink.com) wrote:
-
- : In this book and others, notably 'Code Complete', these programming
- : guides published by Microsoft Press, it is evident why Microsoft put
- : so many bugs in Windows 95. Here are the three worst Microsoft
- : coding rules, in my opinion at least:
-
- : Every line of code must contain a comment.
- : Any number greater than 2 must be a named constant.
- : No procedure may be longer than 25 lines.
-
- Which books did you read? #1 is refuted in Code Complete; #2 is actually
- a useful rule (it's bitten me before!); and #3 isn't specifically proscribed
- in any of the books that I can remember. A heuristic is offered, but
- that's all.
-
- Scott
-
-